package cn.com.inossem.model;

import java.io.Serializable;

import android.os.Parcel;
import android.os.Parcelable;

public class ProfessionalInfoBean implements Parcelable, Serializable {

	private String id;
	/**
	 * 公司id
	 */
	private int comID;
	/**
	 * 用户id
	 */
	private int userID;
	/**
	 * 公司名字
	 */
	private String comName;
	/**
	 * 周期
	 */
	private String period;
	/**
	 * 职位
	 */
	private String position;

	public int isselected = 0;

	private String startTime = "";
	private String endTime = "";

	public ProfessionalInfoBean() {

	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getComID() {
		return comID;
	}

	public void setComID(int comID) {
		this.comID = comID;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public String getComName() {
		return comName;
	}

	public void setComName(String comName) {
		this.comName = comName;
	}

	public String getPeriod() {
		return period;
	}

	public void setPeriod(String period) {
		this.period = period;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public int getIsselected() {
		return isselected;
	}

	public void setIsselected(int isselected) {
		this.isselected = isselected;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	private ProfessionalInfoBean(Parcel in) {
		id = in.readString();
		comID = in.readInt();
		userID = in.readInt();
		comName = in.readString();
		period = in.readString();
		position = in.readString();
		startTime = in.readString();
		endTime = in.readString();

	}

	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(id);
		dest.writeInt(comID);
		dest.writeInt(userID);
		dest.writeString(comName);
		dest.writeString(period);
		dest.writeString(position);
		dest.writeString(startTime);
		dest.writeString(endTime);
	}

	public static final Parcelable.Creator<ProfessionalInfoBean> CREATOR = new Parcelable.Creator<ProfessionalInfoBean>() {
		public ProfessionalInfoBean createFromParcel(Parcel in) {
			return new ProfessionalInfoBean(in);
		}

		public ProfessionalInfoBean[] newArray(int size) {
			return new ProfessionalInfoBean[size];
		}
	};

}
